package com.example.demo.pojo;

public class Goods {
    private String goodsId;

    private String name;

    private String price;

    private String image;

    private String classification;

    private Integer sellNum;

    public Goods(String goodsId, String name, String price, String image, String classification, Integer sellNum) {
        this.goodsId = goodsId;
        this.name = name;
        this.price = price;
        this.image = image;
        this.classification = classification;
        this.sellNum = sellNum;
    }

    public Goods() {
        super();
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId == null ? null : goodsId.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price == null ? null : price.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getClassification() {
        return classification;
    }

    public void setClassification(String classification) {
        this.classification = classification == null ? null : classification.trim();
    }

    public Integer getSellNum() {
        return sellNum;
    }

    public void setSellNum(Integer sellNum) {
        this.sellNum = sellNum;
    }
}